package com.yuyou.tas.service.api.admin.dto;

import com.yuyou.tas.service.api.admin.entity.AuthRole;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;

/**
 * Created by yujin.liu on 2018/2/9.
 */
public class AuthUserDTO {

    /** 业务主键 */
    private Long id;

    @ApiModelProperty(example = "组织id")
    private String authOrganizationId;

    @ApiModelProperty(example = "组织名称")
    private String orgName;

    @ApiModelProperty(example = "帐号")
    private String account;

    @ApiModelProperty(example = "密码")
    private String password;

    @ApiModelProperty(example = "姓名")
    private String username;

    @ApiModelProperty(example = "性别 0：男 1：女 2：未知")
    private Integer sex;

    @ApiModelProperty(example = "联系电话")
    private String phone;

    @ApiModelProperty(example = "帐号状态 0:禁用 1:正常")
    private Integer status;

    @ApiModelProperty(example = "人员类型：1：教师 2：教研 3：教务 4：班主任（班主任） 5：其他（外部班主任）")
    private Integer type;

    @ApiModelProperty(example = "人员状态：0：在职，1：离职")
    private Integer workStatus;

    @ApiModelProperty(example = "校区权限:0:全部，1:部分")
    private Integer schoolType;

    @ApiModelProperty(example = "任职状态：0：全职 1：兼职")
    private Integer jobStatus;

    @ApiModelProperty(example = "角色")
    private List<AuthRole> authRoleList;

    @ApiModelProperty(example = "帐号到期时间")
    private Date endTime;

    @ApiModelProperty(example = "创建时间")
    private Date createTime;

    @ApiModelProperty(example = "更新时间")
    private Date updateTime;

    private List<SubjectSection> subjectSectionList;

    @ApiModelProperty(example = "用户校区 id")
    private List<Long> baseSchoolIds;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getAuthOrganizationId() {
        return authOrganizationId;
    }

    public void setAuthOrganizationId(String authOrganizationId) {
        this.authOrganizationId = authOrganizationId;
    }

    public String getOrgName() {
        return orgName;
    }

    public void setOrgName(String orgName) {
        this.orgName = orgName;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public List<AuthRole> getAuthRoleList() {
        return authRoleList;
    }

    public void setAuthRoleList(List<AuthRole> authRoleList) {
        this.authRoleList = authRoleList;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getWorkStatus() {
        return workStatus;
    }

    public void setWorkStatus(Integer workStatus) {
        this.workStatus = workStatus;
    }

    public Integer getSchoolType() {
        return schoolType;
    }

    public void setSchoolType(Integer schoolType) {
        this.schoolType = schoolType;
    }

    public Integer getJobStatus() {
        return jobStatus;
    }

    public void setJobStatus(Integer jobStatus) {
        this.jobStatus = jobStatus;
    }


    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public List<SubjectSection> getSubjectSectionList() {
        return subjectSectionList;
    }

    public void setSubjectSectionList(List<SubjectSection> subjectSectionList) {
        this.subjectSectionList = subjectSectionList;
    }

    public List<Long> getBaseSchoolIds() {
        return baseSchoolIds;
    }

    public void setBaseSchoolIds(List<Long> baseSchoolIds) {
        this.baseSchoolIds = baseSchoolIds;
    }
}
